Optimal. Leaf size=153 \[ \frac {a d (f x)^{1+m} \sqrt {a^2+2 a b x^2+b^2 x^4}}{f (1+m) \left (a+b x^2\right )}+\frac {(b d+a e) (f x)^{3+m} \sqrt {a^2+2 a b x^2+b^2 x^4}}{f^3 (3+m) \left (a+b x^2\right )}+\frac {b e (f x)^{5+m} \sqrt {a^2+2 a b x^2+b^2 x^4}}{f^5 (5+m) \left (a+b x^2\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 153, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.057, Rules used = {1264, 459}
\begin {gather*} \frac {\sqrt {a^2+2 a b x^2+b^2 x^4} (f x)^{m+3} (a e+b d)}{f^3 (m+3) \left (a+b x^2\right )}+\frac {a d \sqrt {a^2+2 a b x^2+b^2 x^4} (f x)^{m+1}}{f (m+1) \left (a+b x^2\right )}+\frac {b e \sqrt {a^2+2 a b x^2+b^2 x^4} (f x)^{m+5}}{f^5 (m+5) \left (a+b x^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 459
Rule 1264
Rubi steps
\begin {align*} \int (f x)^m \left (d+e x^2\right ) \sqrt {a^2+2 a b x^2+b^2 x^4} \, dx &=\frac {\sqrt {a^2+2 a b x^2+b^2 x^4} \int (f x)^m \left (a b+b^2 x^2\right ) \left (d+e x^2\right ) \, dx}{a b+b^2 x^2}\\ &=\frac {\sqrt {a^2+2 a b x^2+b^2 x^4} \int \left (a b d (f x)^m+\frac {b (b d+a e) (f x)^{2+m}}{f^2}+\frac {b^2 e (f x)^{4+m}}{f^4}\right ) \, dx}{a b+b^2 x^2}\\ &=\frac {a d (f x)^{1+m} \sqrt {a^2+2 a b x^2+b^2 x^4}}{f (1+m) \left (a+b x^2\right )}+\frac {(b d+a e) (f x)^{3+m} \sqrt {a^2+2 a b x^2+b^2 x^4}}{f^3 (3+m) \left (a+b x^2\right )}+\frac {b e (f x)^{5+m} \sqrt {a^2+2 a b x^2+b^2 x^4}}{f^5 (5+m) \left (a+b x^2\right )}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 86, normalized size = 0.56 \begin {gather*} \frac {x (f x)^m \sqrt {\left (a+b x^2\right )^2} \left (a (5+m) \left (d (3+m)+e (1+m) x^2\right )+b (1+m) x^2 \left (d (5+m)+e (3+m) x^2\right )\right )}{(1+m) (3+m) (5+m) \left (a+b x^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 131, normalized size = 0.86
method | result | size |
gosper | \(\frac {x \left (b e \,m^{2} x^{4}+4 b e m \,x^{4}+a e \,m^{2} x^{2}+b d \,m^{2} x^{2}+3 b e \,x^{4}+6 a e m \,x^{2}+6 b d m \,x^{2}+a d \,m^{2}+5 a e \,x^{2}+5 b d \,x^{2}+8 a d m +15 a d \right ) \left (f x \right )^{m} \sqrt {\left (b \,x^{2}+a \right )^{2}}}{\left (5+m \right ) \left (3+m \right ) \left (1+m \right ) \left (b \,x^{2}+a \right )}\) | \(131\) |
risch | \(\frac {x \left (b e \,m^{2} x^{4}+4 b e m \,x^{4}+a e \,m^{2} x^{2}+b d \,m^{2} x^{2}+3 b e \,x^{4}+6 a e m \,x^{2}+6 b d m \,x^{2}+a d \,m^{2}+5 a e \,x^{2}+5 b d \,x^{2}+8 a d m +15 a d \right ) \left (f x \right )^{m} \sqrt {\left (b \,x^{2}+a \right )^{2}}}{\left (5+m \right ) \left (3+m \right ) \left (1+m \right ) \left (b \,x^{2}+a \right )}\) | \(131\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 78, normalized size = 0.51 \begin {gather*} \frac {{\left (b f^{m} {\left (m + 1\right )} x^{3} + a f^{m} {\left (m + 3\right )} x\right )} d x^{m}}{m^{2} + 4 \, m + 3} + \frac {{\left (b f^{m} {\left (m + 3\right )} x^{5} + a f^{m} {\left (m + 5\right )} x^{3}\right )} e^{\left (m \log \left (x\right ) + 1\right )}}{m^{2} + 8 \, m + 15} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.39, size = 98, normalized size = 0.64 \begin {gather*} \frac {{\left ({\left (b d m^{2} + 6 \, b d m + 5 \, b d\right )} x^{3} + {\left (a d m^{2} + 8 \, a d m + 15 \, a d\right )} x + {\left ({\left (b m^{2} + 4 \, b m + 3 \, b\right )} x^{5} + {\left (a m^{2} + 6 \, a m + 5 \, a\right )} x^{3}\right )} e\right )} \left (f x\right )^{m}}{m^{3} + 9 \, m^{2} + 23 \, m + 15} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (f x\right )^{m} \left (d + e x^{2}\right ) \sqrt {\left (a + b x^{2}\right )^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 269 vs.
\(2 (122) = 244\).
time = 2.79, size = 269, normalized size = 1.76 \begin {gather*} \frac {\left (f x\right )^{m} b m^{2} x^{5} e \mathrm {sgn}\left (b x^{2} + a\right ) + 4 \, \left (f x\right )^{m} b m x^{5} e \mathrm {sgn}\left (b x^{2} + a\right ) + \left (f x\right )^{m} b d m^{2} x^{3} \mathrm {sgn}\left (b x^{2} + a\right ) + \left (f x\right )^{m} a m^{2} x^{3} e \mathrm {sgn}\left (b x^{2} + a\right ) + 3 \, \left (f x\right )^{m} b x^{5} e \mathrm {sgn}\left (b x^{2} + a\right ) + 6 \, \left (f x\right )^{m} b d m x^{3} \mathrm {sgn}\left (b x^{2} + a\right ) + 6 \, \left (f x\right )^{m} a m x^{3} e \mathrm {sgn}\left (b x^{2} + a\right ) + \left (f x\right )^{m} a d m^{2} x \mathrm {sgn}\left (b x^{2} + a\right ) + 5 \, \left (f x\right )^{m} b d x^{3} \mathrm {sgn}\left (b x^{2} + a\right ) + 5 \, \left (f x\right )^{m} a x^{3} e \mathrm {sgn}\left (b x^{2} + a\right ) + 8 \, \left (f x\right )^{m} a d m x \mathrm {sgn}\left (b x^{2} + a\right ) + 15 \, \left (f x\right )^{m} a d x \mathrm {sgn}\left (b x^{2} + a\right )}{m^{3} + 9 \, m^{2} + 23 \, m + 15} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\left (f\,x\right )}^m\,\left (e\,x^2+d\right )\,\sqrt {a^2+2\,a\,b\,x^2+b^2\,x^4} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________